home *** CD-ROM | disk | FTP | other *** search
/ Queensland Science Project eChemistry / Queensland Science Project eChemistry (ISBN 9781740818636).iso / ictToolKit / ict / skills3.js < prev    next >
Text File  |  2003-05-21  |  7KB  |  71 lines

  1. <!-- 
  2. function showICTsection3(no)
  3. {
  4.   MM_showHideLayers('sec3_nav','','show');   
  5.   if (no ==1) {
  6.      currentContent = "sec3_1";
  7.      MM_showHideLayers('sec3_1','','show','sec3_2','','hide','sec3_3','','hide','sec3_4','','hide','sec3_5','','hide','sec3_6','','hide','sec3_7','','hide','sec3_8','','hide','sec3_9','','hide','sec3_10','','hide','sec3_11','','hide','sec3_12','','hide','sec3_13','','hide','sec3_14','','hide','sec3_15','','hide','sec3_16','','hide'); 
  8.   }
  9.   else if (no ==2)  {
  10.      currentContent = "sec3_2";
  11.      MM_showHideLayers('sec3_1','','hide','sec3_2','','show','sec3_3','','hide','sec3_4','','hide','sec3_5','','hide','sec3_6','','hide','sec3_7','','hide','sec3_8','','hide','sec3_9','','hide','sec3_10','','hide','sec3_11','','hide','sec3_12','','hide','sec3_13','','hide','sec3_14','','hide','sec3_15','','hide','sec3_16','','hide'); 
  12.   }
  13.   else if (no ==3)  {   
  14.      currentContent = "sec3_3";
  15.      MM_showHideLayers('sec3_1','','hide','sec3_2','','hide','sec3_3','','show','sec3_4','','hide','sec3_5','','hide','sec3_6','','hide','sec3_7','','hide','sec3_8','','hide','sec3_9','','hide','sec3_10','','hide','sec3_11','','hide','sec3_12','','hide','sec3_13','','hide','sec3_14','','hide','sec3_15','','hide','sec3_16','','hide'); 
  16.   }
  17.   else if (no ==4)  {
  18.      currentContent = "sec3_4";
  19.      MM_showHideLayers('sec3_1','','hide','sec3_2','','hide','sec3_3','','hide','sec3_4','','show','sec3_5','','hide','sec3_6','','hide','sec3_7','','hide','sec3_8','','hide','sec3_9','','hide','sec3_10','','hide','sec3_11','','hide','sec3_12','','hide','sec3_13','','hide','sec3_14','','hide','sec3_15','','hide','sec3_16','','hide'); 
  20.   }
  21.   else if (no ==5)  {
  22.      currentContent = "sec3_5";
  23.      MM_showHideLayers('sec3_1','','hide','sec3_2','','hide','sec3_3','','hide','sec3_4','','hide','sec3_5','','show','sec3_6','','hide','sec3_7','','hide','sec3_8','','hide','sec3_9','','hide','sec3_10','','hide','sec3_11','','hide','sec3_12','','hide','sec3_13','','hide','sec3_14','','hide','sec3_15','','hide','sec3_16','','hide'); 
  24.   }
  25.   else if (no ==6)  {
  26.      currentContent = "sec3_6";
  27.      MM_showHideLayers('sec3_1','','hide','sec3_2','','hide','sec3_3','','hide','sec3_4','','hide','sec3_5','','hide','sec3_6','','show','sec3_7','','hide','sec3_8','','hide','sec3_9','','hide','sec3_10','','hide','sec3_11','','hide','sec3_12','','hide','sec3_13','','hide','sec3_14','','hide','sec3_15','','hide','sec3_16','','hide'); 
  28.   }
  29.   else if (no ==7)  {
  30.      currentContent = "sec3_7"; 
  31.      MM_showHideLayers('sec3_1','','hide','sec3_2','','hide','sec3_3','','hide','sec3_4','','hide','sec3_5','','hide','sec3_6','','hide','sec3_7','','show','sec3_8','','hide','sec3_9','','hide','sec3_10','','hide','sec3_11','','hide','sec3_12','','hide','sec3_13','','hide','sec3_14','','hide','sec3_15','','hide','sec3_16','','hide'); 
  32.   }
  33.   else if (no ==8)  {
  34.      currentContent = "sec3_8";
  35.      MM_showHideLayers('sec3_1','','hide','sec3_2','','hide','sec3_3','','hide','sec3_4','','hide','sec3_5','','hide','sec3_6','','hide','sec3_7','','hide','sec3_8','','show','sec3_9','','hide','sec3_10','','hide','sec3_11','','hide','sec3_12','','hide','sec3_13','','hide','sec3_14','','hide','sec3_15','','hide','sec3_16','','hide'); 
  36.   }
  37.   else if (no ==9)  {
  38.      currentContent = "sec3_9";
  39.      MM_showHideLayers('sec3_1','','hide','sec3_2','','hide','sec3_3','','hide','sec3_4','','hide','sec3_5','','hide','sec3_6','','hide','sec3_7','','hide','sec3_8','','hide','sec3_9','','show','sec3_10','','hide','sec3_11','','hide','sec3_12','','hide','sec3_13','','hide','sec3_14','','hide','sec3_15','','hide','sec3_16','','hide'); 
  40.   }
  41.   else if (no ==10)  {
  42.      currentContent = "sec3_10";
  43.      MM_showHideLayers('sec3_1','','hide','sec3_2','','hide','sec3_3','','hide','sec3_4','','hide','sec3_5','','hide','sec3_6','','hide','sec3_7','','hide','sec3_8','','hide','sec3_9','','hide','sec3_10','','show','sec3_11','','hide','sec3_12','','hide','sec3_13','','hide','sec3_14','','hide','sec3_15','','hide','sec3_16','','hide'); 
  44.   } 
  45.   else if (no ==11)  {
  46.      currentContent = "sec3_11";
  47.      MM_showHideLayers('sec3_1','','hide','sec3_2','','hide','sec3_3','','hide','sec3_4','','hide','sec3_5','','hide','sec3_6','','hide','sec3_7','','hide','sec3_8','','hide','sec3_9','','hide','sec3_10','','hide','sec3_11','','show','sec3_12','','hide','sec3_13','','hide','sec3_14','','hide','sec3_15','','hide','sec3_16','','hide'); 
  48.   }   
  49.   else if (no ==12)  {
  50.      currentContent = "sec3_12";
  51.      MM_showHideLayers('sec3_1','','hide','sec3_2','','hide','sec3_3','','hide','sec3_4','','hide','sec3_5','','hide','sec3_6','','hide','sec3_7','','hide','sec3_8','','hide','sec3_9','','hide','sec3_10','','hide','sec3_11','','hide','sec3_12','','show','sec3_13','','hide','sec3_14','','hide','sec3_15','','hide','sec3_16','','hide'); 
  52.   } 
  53.   else if (no ==13)  {
  54.      currentContent = "sec3_13";
  55.      MM_showHideLayers('sec3_1','','hide','sec3_2','','hide','sec3_3','','hide','sec3_4','','hide','sec3_5','','hide','sec3_6','','hide','sec3_7','','hide','sec3_8','','hide','sec3_9','','hide','sec3_10','','hide','sec3_11','','hide','sec3_12','','hide','sec3_13','','show','sec3_14','','hide','sec3_15','','hide','sec3_16','','hide'); 
  56.   } 
  57.   else if (no ==14)  {
  58.      currentContent = "sec3_14";
  59.      MM_showHideLayers('sec3_1','','hide','sec3_2','','hide','sec3_3','','hide','sec3_4','','hide','sec3_5','','hide','sec3_6','','hide','sec3_7','','hide','sec3_8','','hide','sec3_9','','hide','sec3_10','','hide','sec3_11','','hide','sec3_12','','hide','sec3_13','','hide','sec3_14','','show','sec3_15','','hide','sec3_16','','hide'); 
  60.   } 
  61.   else if (no ==15)  {
  62.      currentContent = "sec3_15";
  63.      MM_showHideLayers('sec3_1','','hide','sec3_2','','hide','sec3_3','','hide','sec3_4','','hide','sec3_5','','hide','sec3_6','','hide','sec3_7','','hide','sec3_8','','hide','sec3_9','','hide','sec3_10','','hide','sec3_11','','hide','sec3_12','','hide','sec3_13','','hide','sec3_14','','hide','sec3_15','','show','sec3_16','','hide'); 
  64.   } 
  65.   else if (no ==16)  {
  66.      currentContent = "sec3_16";
  67.      MM_showHideLayers('sec3_1','','hide','sec3_2','','hide','sec3_3','','hide','sec3_4','','hide','sec3_5','','hide','sec3_6','','hide','sec3_7','','hide','sec3_8','','hide','sec3_9','','hide','sec3_10','','hide','sec3_11','','hide','sec3_12','','hide','sec3_13','','hide','sec3_14','','hide','sec3_15','','hide','sec3_16','','show'); 
  68.   } 
  69. }
  70.  
  71. //-->